package club.yunqiang.dto;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author YunQiang
 */
public class ModifyDBInstanceConnection {

	@ApiModelProperty(value = "实例的连接串(可使用\"/rds/describeDBInstanceNetInfo\"接口获取)")
	private String currentConnectionString;

	@ApiModelProperty(value = "连接串的前缀（自定义即可）")
	private String connectionStringPrefix;

	@ApiModelProperty(value = "数据库的连接端口")
	private String port;

	public String getConnectionStringPrefix() {
		return connectionStringPrefix;
	}

	public void setConnectionStringPrefix(String connectionStringPrefix) {
		this.connectionStringPrefix = connectionStringPrefix;
	}

	public String getCurrentConnectionString() {
		return currentConnectionString;
	}

	public void setCurrentConnectionString(String currentConnectionString) {
		this.currentConnectionString = currentConnectionString;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	@Override
	public String toString() {
		return "ModifyDBInstanceConnection{" +
				"currentConnectionString='" + currentConnectionString + '\'' +
				", connectionStringPrefix='" + connectionStringPrefix + '\'' +
				", port='" + port + '\'' +
				'}';
	}
}
